package com.pinganfu.tesla.iwallet.util;

import java.text.DecimalFormat;

public final class Constant {
	public static final String TAG = "com.pinganfu.pig";

	public static final int LEN_MOBILE_NO = 11;
	public static final int LEN_VERIFY_CODE = 6;
	public static final int LEN_CERT_NO_15 = 15;
	public static final int LEN_CERT_NO_18 = 18;

	public static final String PREFS_NAME = "pig";
	public static final String DB_NAME = "pig.db";
	public static final String PREFS_DB_CREATED = "dbCreated";
	public static final String PREFS_SHOW_FLASH = "showFlash";
	public final static String PREFS_USERNAME = "username";
	public final static String PREFS_SECRET = "secret";
	public final static String PREFS_APP_URL = "appUrl";

	public final static int HTTP_OK = 200;

	public final static DecimalFormat df = new DecimalFormat("###,###,##0.00");

	public final static String REQUEST_SUCCESS_CODE = "000000";

	public final static String RTN_CODE = "rtnCode";
	public final static String RTN_MSG = "rtnMsg";
}
